import request from '@/utils/request'

// 查询实时Ticker列表
export function listSwaprealtimetickerbak(query) {
  return request({
    url: '/swaprealtimeticker/swaprealtimetickerbak/list',
    method: 'get',
    params: query
  })
}

// 查询实时Ticker详细
export function getSwaprealtimetickerbak(id) {
  return request({
    url: '/swaprealtimeticker/swaprealtimetickerbak/' + id,
    method: 'get'
  })
}

// 新增实时Ticker
export function addSwaprealtimetickerbak(data) {
  return request({
    url: '/swaprealtimeticker/swaprealtimetickerbak',
    method: 'post',
    data: data
  })
}

// 修改实时Ticker
export function updateSwaprealtimetickerbak(data) {
  return request({
    url: '/swaprealtimeticker/swaprealtimetickerbak',
    method: 'put',
    data: data
  })
}

// 删除实时Ticker
export function delSwaprealtimetickerbak(id) {
  return request({
    url: '/swaprealtimeticker/swaprealtimetickerbak/' + id,
    method: 'delete'
  })
}
